{% extends "base.html" %}
{% load i18n  %}
{% block title %} {%trans 'Add/Edit View'%} {{sf_obj.name}}{% endblock %}
{% block content-center%}
{%if view %}
<div>{%trans 'Edit View'%} {{view.name}}</div>
{% include 'wizard/edit_view/tabs.html'%} 
{%else%}
<div>{%trans 'Add view for '%} {{sf_obj.label}}</div>
{%endif%}
<div>{{sf_obj.name}}</div>
<form method="post">{%csrf_token%}
<table>
{{form.as_table}}
</table>
<input type="submit" value="{%trans 'Save'%}" />
</form>

{% endblock content-center%}